package cn.kgc.crowdfundingadmin2.service;

import cn.kgc.crowdfundingadmin2.mapper.MessageMapper;
import cn.kgc.crowdfundingadmin2.pojo.Message;
import cn.kgc.crowdfundingadmin2.pojo.MessageExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import java.util.List;

@Scope
@Service("messageService")
public class MessageServiceImpl implements MessageService {
    @Autowired
    MessageMapper messageMapper;

    @Override
    public void updateMessage(Message message) {
        messageMapper.updateMessage(message);
    }

    @Override
    public int countByExample(MessageExample example) {
        return 0;
    }

    @Override
    public int deleteByExample(MessageExample example) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(Message record) {
        return 0;
    }

    @Override
    public int insertSelective(Message record) {
        return 0;
    }

    @Override
    public List<Message> selectByExample(MessageExample example) {
        return messageMapper.selectByExample(example);
    }

    @Override
    public Message selectByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public int updateByExampleSelective(Message record, MessageExample example) {
        return 0;
    }

    @Override
    public int updateByExample(Message record, MessageExample example) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(Message record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Message record) {
        return 0;
    }
}